package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.IllegalRecord;
import cn.topevery.garden.entity.query.IllegalRecordQuery;
import cn.topevery.garden.entity.vo.IllegalRecordVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 违规记录表
 *
 * @author code-generate
 * @date 2022-01-20
 */
public interface IllegalRecordDao extends BaseDao<IllegalRecord> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<IllegalRecordVO> listPage(IllegalRecordQuery query);

    IllegalRecord getEntityByColumn(String key,String value);

    void deleteBatchById(String userId, Integer[] ids);
}
